package com.baishancloud.log.common.entity

import scala.beans.BeanProperty

/**
 * 维表（省份/区域）数据对象
 *
 * @param id   id
 * @param code 英文释义
 * @author ziqiang.wang 
 * @date 2022/2/16 14:05
 */
case class ProvinceEntity(
                           @BeanProperty var id: Int,
                           @BeanProperty var code: String
                         ) extends Serializable

object ProvinceEntity extends Serializable {
  def apply(): ProvinceEntity = new ProvinceEntity(0, "")

  /**
   * 省份数据默认对象
   */
  val DEFAULT = new ProvinceEntity(391, "Other")
}